package com.oracle;

import com.oracle.beans.CheckItem;
import com.oracle.beans.PageBean;
import com.oracle.beans.QueryPageVo;
import com.oracle.service.CheckItemService;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
public class ServiceTestApplication {
    @Autowired
    CheckItemService checkItemService;
    @Test
    public void test(){
        QueryPageVo queryPageVo = new QueryPageVo();
        queryPageVo.setCurrentPage(1);
        queryPageVo.setPageSize(10);
        queryPageVo.setQueryString("血");
        PageBean<CheckItem> pageBean = checkItemService.findList(queryPageVo);
        System.out.println(pageBean);
    }
}
